package com.wsg.dep.seq;


import com.wsg.dep.core.WaitStrategy;

/**
 * 单例生成序列跟踪管理器-关键字段
 */
public abstract class SingleProducerSequencerFields extends SingleProducerSequencerPad {

    SingleProducerSequencerFields(int bufferSize, WaitStrategy waitStrategy)
    {
        super(bufferSize, waitStrategy);
    }

    /**
     * 初始化下一个值的开始位置
     */
    long nextValue = Sequence.INITIAL_VALUE;
    /**
     * 缓存的值
     */
    long cachedValue = Sequence.INITIAL_VALUE;
}
